/*
 * XML Type:  attributes
 * Namespace: http://java.sun.com/xml/ns/persistence/orm
 * Java type: com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes
 *
 * Automatically generated - do not modify.
 */
package com.googlecode.horncomb.orm.jpa.v10.xmlbeans;


/**
 * An XML attributes(@http://java.sun.com/xml/ns/persistence/orm).
 *
 * This is a complex type.
 */
public interface Attributes extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Attributes.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s5B4C45932D2FDE7154D0A2FFEBD94B1B").resolveHandle("attributes1712type");
    
    /**
     * Gets a List of "id" elements
     */
    java.util.List<com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Id> getIdList();
    
    /**
     * Gets array of all "id" elements
     * @deprecated
     */
    @Deprecated
	com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Id[] getIdArray();
    
    /**
     * Gets ith "id" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Id getIdArray(int i);
    
    /**
     * Returns number of "id" element
     */
    int sizeOfIdArray();
    
    /**
     * Sets array of all "id" element
     */
    void setIdArray(com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Id[] idArray);
    
    /**
     * Sets ith "id" element
     */
    void setIdArray(int i, com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Id id);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "id" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Id insertNewId(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "id" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Id addNewId();
    
    /**
     * Removes the ith "id" element
     */
    void removeId(int i);
    
    /**
     * Gets the "embedded-id" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.EmbeddedId getEmbeddedId();
    
    /**
     * True if has "embedded-id" element
     */
    boolean isSetEmbeddedId();
    
    /**
     * Sets the "embedded-id" element
     */
    void setEmbeddedId(com.googlecode.horncomb.orm.jpa.v10.xmlbeans.EmbeddedId embeddedId);
    
    /**
     * Appends and returns a new empty "embedded-id" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.EmbeddedId addNewEmbeddedId();
    
    /**
     * Unsets the "embedded-id" element
     */
    void unsetEmbeddedId();
    
    /**
     * Gets a List of "basic" elements
     */
    java.util.List<com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Basic> getBasicList();
    
    /**
     * Gets array of all "basic" elements
     * @deprecated
     */
    @Deprecated
	com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Basic[] getBasicArray();
    
    /**
     * Gets ith "basic" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Basic getBasicArray(int i);
    
    /**
     * Returns number of "basic" element
     */
    int sizeOfBasicArray();
    
    /**
     * Sets array of all "basic" element
     */
    void setBasicArray(com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Basic[] basicArray);
    
    /**
     * Sets ith "basic" element
     */
    void setBasicArray(int i, com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Basic basic);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "basic" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Basic insertNewBasic(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "basic" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Basic addNewBasic();
    
    /**
     * Removes the ith "basic" element
     */
    void removeBasic(int i);
    
    /**
     * Gets a List of "version" elements
     */
    java.util.List<com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Version> getVersionList();
    
    /**
     * Gets array of all "version" elements
     * @deprecated
     */
    @Deprecated
	com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Version[] getVersionArray();
    
    /**
     * Gets ith "version" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Version getVersionArray(int i);
    
    /**
     * Returns number of "version" element
     */
    int sizeOfVersionArray();
    
    /**
     * Sets array of all "version" element
     */
    void setVersionArray(com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Version[] versionArray);
    
    /**
     * Sets ith "version" element
     */
    void setVersionArray(int i, com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Version version);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "version" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Version insertNewVersion(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "version" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Version addNewVersion();
    
    /**
     * Removes the ith "version" element
     */
    void removeVersion(int i);
    
    /**
     * Gets a List of "many-to-one" elements
     */
    java.util.List<com.googlecode.horncomb.orm.jpa.v10.xmlbeans.ManyToOne> getManyToOneList();
    
    /**
     * Gets array of all "many-to-one" elements
     * @deprecated
     */
    @Deprecated
	com.googlecode.horncomb.orm.jpa.v10.xmlbeans.ManyToOne[] getManyToOneArray();
    
    /**
     * Gets ith "many-to-one" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.ManyToOne getManyToOneArray(int i);
    
    /**
     * Returns number of "many-to-one" element
     */
    int sizeOfManyToOneArray();
    
    /**
     * Sets array of all "many-to-one" element
     */
    void setManyToOneArray(com.googlecode.horncomb.orm.jpa.v10.xmlbeans.ManyToOne[] manyToOneArray);
    
    /**
     * Sets ith "many-to-one" element
     */
    void setManyToOneArray(int i, com.googlecode.horncomb.orm.jpa.v10.xmlbeans.ManyToOne manyToOne);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "many-to-one" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.ManyToOne insertNewManyToOne(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "many-to-one" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.ManyToOne addNewManyToOne();
    
    /**
     * Removes the ith "many-to-one" element
     */
    void removeManyToOne(int i);
    
    /**
     * Gets a List of "one-to-many" elements
     */
    java.util.List<com.googlecode.horncomb.orm.jpa.v10.xmlbeans.OneToMany> getOneToManyList();
    
    /**
     * Gets array of all "one-to-many" elements
     * @deprecated
     */
    @Deprecated
	com.googlecode.horncomb.orm.jpa.v10.xmlbeans.OneToMany[] getOneToManyArray();
    
    /**
     * Gets ith "one-to-many" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.OneToMany getOneToManyArray(int i);
    
    /**
     * Returns number of "one-to-many" element
     */
    int sizeOfOneToManyArray();
    
    /**
     * Sets array of all "one-to-many" element
     */
    void setOneToManyArray(com.googlecode.horncomb.orm.jpa.v10.xmlbeans.OneToMany[] oneToManyArray);
    
    /**
     * Sets ith "one-to-many" element
     */
    void setOneToManyArray(int i, com.googlecode.horncomb.orm.jpa.v10.xmlbeans.OneToMany oneToMany);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "one-to-many" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.OneToMany insertNewOneToMany(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "one-to-many" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.OneToMany addNewOneToMany();
    
    /**
     * Removes the ith "one-to-many" element
     */
    void removeOneToMany(int i);
    
    /**
     * Gets a List of "one-to-one" elements
     */
    java.util.List<com.googlecode.horncomb.orm.jpa.v10.xmlbeans.OneToOne> getOneToOneList();
    
    /**
     * Gets array of all "one-to-one" elements
     * @deprecated
     */
    @Deprecated
	com.googlecode.horncomb.orm.jpa.v10.xmlbeans.OneToOne[] getOneToOneArray();
    
    /**
     * Gets ith "one-to-one" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.OneToOne getOneToOneArray(int i);
    
    /**
     * Returns number of "one-to-one" element
     */
    int sizeOfOneToOneArray();
    
    /**
     * Sets array of all "one-to-one" element
     */
    void setOneToOneArray(com.googlecode.horncomb.orm.jpa.v10.xmlbeans.OneToOne[] oneToOneArray);
    
    /**
     * Sets ith "one-to-one" element
     */
    void setOneToOneArray(int i, com.googlecode.horncomb.orm.jpa.v10.xmlbeans.OneToOne oneToOne);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "one-to-one" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.OneToOne insertNewOneToOne(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "one-to-one" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.OneToOne addNewOneToOne();
    
    /**
     * Removes the ith "one-to-one" element
     */
    void removeOneToOne(int i);
    
    /**
     * Gets a List of "many-to-many" elements
     */
    java.util.List<com.googlecode.horncomb.orm.jpa.v10.xmlbeans.ManyToMany> getManyToManyList();
    
    /**
     * Gets array of all "many-to-many" elements
     * @deprecated
     */
    @Deprecated
	com.googlecode.horncomb.orm.jpa.v10.xmlbeans.ManyToMany[] getManyToManyArray();
    
    /**
     * Gets ith "many-to-many" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.ManyToMany getManyToManyArray(int i);
    
    /**
     * Returns number of "many-to-many" element
     */
    int sizeOfManyToManyArray();
    
    /**
     * Sets array of all "many-to-many" element
     */
    void setManyToManyArray(com.googlecode.horncomb.orm.jpa.v10.xmlbeans.ManyToMany[] manyToManyArray);
    
    /**
     * Sets ith "many-to-many" element
     */
    void setManyToManyArray(int i, com.googlecode.horncomb.orm.jpa.v10.xmlbeans.ManyToMany manyToMany);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "many-to-many" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.ManyToMany insertNewManyToMany(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "many-to-many" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.ManyToMany addNewManyToMany();
    
    /**
     * Removes the ith "many-to-many" element
     */
    void removeManyToMany(int i);
    
    /**
     * Gets a List of "embedded" elements
     */
    java.util.List<com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Embedded> getEmbeddedList();
    
    /**
     * Gets array of all "embedded" elements
     * @deprecated
     */
    @Deprecated
	com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Embedded[] getEmbeddedArray();
    
    /**
     * Gets ith "embedded" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Embedded getEmbeddedArray(int i);
    
    /**
     * Returns number of "embedded" element
     */
    int sizeOfEmbeddedArray();
    
    /**
     * Sets array of all "embedded" element
     */
    void setEmbeddedArray(com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Embedded[] embeddedArray);
    
    /**
     * Sets ith "embedded" element
     */
    void setEmbeddedArray(int i, com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Embedded embedded);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "embedded" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Embedded insertNewEmbedded(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "embedded" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Embedded addNewEmbedded();
    
    /**
     * Removes the ith "embedded" element
     */
    void removeEmbedded(int i);
    
    /**
     * Gets a List of "transient" elements
     */
    java.util.List<com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Transient> getTransientList();
    
    /**
     * Gets array of all "transient" elements
     * @deprecated
     */
    @Deprecated
	com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Transient[] getTransientArray();
    
    /**
     * Gets ith "transient" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Transient getTransientArray(int i);
    
    /**
     * Returns number of "transient" element
     */
    int sizeOfTransientArray();
    
    /**
     * Sets array of all "transient" element
     */
    void setTransientArray(com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Transient[] xtransientArray);
    
    /**
     * Sets ith "transient" element
     */
    void setTransientArray(int i, com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Transient xtransient);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "transient" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Transient insertNewTransient(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "transient" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Transient addNewTransient();
    
    /**
     * Removes the ith "transient" element
     */
    void removeTransient(int i);
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes newInstance() {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link XMLInputStream} */
        @Deprecated
		public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link XMLInputStream} */
        @Deprecated
		public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.Attributes) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link XMLInputStream} */
        @Deprecated
		public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link XMLInputStream} */
        @Deprecated
		public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
